The performis is a flat, pyramid shaped muscle lying partly in the pelvis and partly at the back of the hip joint. The muscle arises from the scarum, passes through the sacrosciate foramen, and inserts as a round tendon into the upper edge of the great trochanter of the femur (upper edge of the thigh bone). This muscle helps rotate the thigh.